package net.sxbang.dao;

import net.sxbang.model.User;

public class UserDAOImpl implements UserDAO {

	@Override
	public User findByUsername(String username) {
		System.out.println(this.getClass().getName() + "findByUsername");
		User user = new User();
		user.setId(1);
		user.setUsername("andy");
		user.setPassword("123456");
		return user;
	}

	@Override
	public void save(User user) {
		System.out.println(this.getClass().getName() + "save");
	}

}
